<template>
  <van-tabs v-model:active="activeName">
    <van-tab title="相关推荐" name="recommend">
      <VideoRecommend />
    </van-tab>
    <van-tab :title="`评论${danmaku}`" name="comment">
      <VideoComment />
    </van-tab>
  </van-tabs>
</template>

<script lang="ts" setup>
import { useVideoPlayStore } from "@/stores/videoplay";
import { ref } from "vue";
import VideoRecommend from "./video-recommend.vue";
import VideoComment from "./video-comment.vue";
const activeName = ref("recommend");
const store = useVideoPlayStore();
const danmaku = store.archiveslist.stat.danmaku;
</script>
